package com.cn.springcloudwechat.mapper.mapper.task.base;

import com.cn.springcloudwechat.mapper.base.BaseDao;
import com.cn.springcloudwechat.model.task.base.ScheduleJob;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 动态任务数据层
 */
public interface ScheduleJobDao extends BaseDao<ScheduleJob> {
	/**
	 * 根据Id获取任务
	 */
	public ScheduleJob getScheduleJobById(@Param("scheduleJobId") String scheduleJobId);

	public List<ScheduleJob> getList(ScheduleJob scheduleJob);
	
}
